export interface ProductData {
  id: string
  name: string
  price: number
  specs: string
  image?: string
  discount?: number
}

export interface Message {
  id: string
  from: 'user' | 'model'
  content: string
  type?: 'text' | 'product'
  productData?: ProductData
  loading?: boolean
  timestamp: number
}

export interface ChatState {
  messages: Message[]
  inputValue: string
  showWelcome: boolean
  isLoading: boolean
}